package com.park.service.impl.user;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.client.model.user.IntegralConsumeModel;
import com.park.client.service.user.IntegralConsumeService;
import com.park.dao.user.IntegralConsumeMapper;
import com.park.service.impl.base.BaseServiceImpl;

@Service("integralConsumeService")
public class IntegralConsumeServiceImpl extends BaseServiceImpl<IntegralConsumeModel> implements IntegralConsumeService{

	@Autowired
	private IntegralConsumeMapper consumeMapper;
	
	@Override
	public boolean insertSelective(IntegralConsumeModel record) {
		return consumeMapper.insertSelective(record)==1;
	}

	@Override
	public List<IntegralConsumeModel> selectAll() {
		return consumeMapper.selectAll();
	}

	@Override
	public List<IntegralConsumeModel> selectPagination(IntegralConsumeModel t) {
		return consumeMapper.selectPagination(t);
	}

	@Override
	public Integer selectTotal(IntegralConsumeModel t) {
		return consumeMapper.selectTotal(t);
	}

}
